# -*- coding:utf-8 -*-
# __author__ : "张百科"
# Date: 2020/8/11 11:23
# File: pagination.py
# IDE: PyCharm

from rest_framework.pagination import PageNumberPagination
from collections import OrderedDict
#深度定制分页
class Pagination(PageNumberPagination):
    page_size = 10
    page_size_query_param = 'page_size'
    #名称
    page_query_param = 'page'
    #单页数量最多
    max_page_size = 100



